package com.guan.ordering_sys.generator.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.guan.ordering_sys.generator.entity.CompanyGoods;

/**
 * <p>
 *  CompanyGoodsService 服务类
 * </p>
 *
 * @author 关远键
 * @since 2021-06-18
 */
public interface CompanyGoodsService extends IService<CompanyGoods> {

    Long getByGoodsId(Long id);

    int insert(Integer companyId, Long goodsId);

    int deleteById(Long goodsId);

}
